# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-alabaster
_pkgname=alabaster
pkgver=0.7.13
pkgrel=1
pkgdesc="Modified Kr Sphinx doc theme"
url="https://github.com/bitprophet/alabaster"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="$_pkgname-$pkgver.tar.gz::https://github.com/bitprophet/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-alabaster" # Backwards compatibility
provides="py-alabaster=$pkgver-r$pkgrel" # Backwards compatibility
options="!check"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
7d9e8ad56ae7f796ced8180756121bead267aebfb866468deee51594398eb9c5b09db75854734609a44537a08b9748e8e9aff23be31754baae80e538a49581b5  alabaster-0.7.13.tar.gz
"
